<template>
  <div class="container">
    <!-- <div class="box">
      <header class="header">
        zzz
      </header>
      <main class="main">c</main>
    </div> -->
    <router-view>
      
    </router-view>
<router-view name="footer"></router-view>
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
*{
  padding: 0;
  margin: 0;
  list-style: none;
}
html,body,#app,.container{
  width: 100%;
  height: 100%;
}
.container{
  display: flex;
  flex-direction: column;
  .box{
    flex: 1;
    overflow: auto;
  
    .header{
      height: 50px;
      // 吸顶
   
      position: sticky;
      .van-search{
        position: sticky;
      }
    }
    .main{
    
      flex: 1;
      overflow: auto;
    }
  }
  .footer{
height: 50px;
  }
}
</style>